package com.quanyan.place.mapper;

import org.apache.ibatis.annotations.Param;

/**
 * Created by yuanxuebing on 16-10-22.
 */
public interface StatementRunningNumMapper {
    int getNextRunningNum(String runingKey);

    int getRunningNumCount(String runingKey);

    int getRunningNum(String runingKey);

    int updateRuningNum(@Param("runningKey")String runningKey, @Param("num")Integer num);

    int saveNewRuningNum(String runingKey);
}
